package com.example.demo.util.enums;

import lombok.Getter;

/**
 * @author kaixuan.xu
 * @version 1.0.0
 * @date 2018/12/19 17:29
 * @description
 */
@Getter
public enum ColorEnum {
  RED(1,"红色"),
  GREEN(2,"绿色");

  private Integer num;
  private String color;

  ColorEnum() {
  }

  ColorEnum(Integer num, String color) {
    this.num = num;
    this.color = color;
  }

}
